<template>
	<page-meta :page-style="'overflow:'+(isFansPop?'hidden':'visible')"></page-meta>
	<view class="groupactiveinfo">
		<block v-if="showGroupactiveinfo">
			<view v-if="club_id==1&&huodong_id==160" class="fansmeeting_form_box" style="margin-top: 0;">
				<view class="fansmeeting_form_topbk_box">
					<image class="fansmeeting_form_topbk" :src="onlinePic+'fansmeeting/zh/audit_ok_bg_zh.png'"
						mode="widthFix">
					</image>
				</view>
				<view v-if="info.sign_end_status==1" class="audit_box"
					:style="'padding-bottom:'+pdbottom+ 'rpx;margin-top:30%;'">
					<view class="f-18 f-w">{{info.sign_end_title}}</view>
					<view class="f-12 mt-10">
						<text>{{info.sign_end_desc}}</text>
					</view>
				</view>
				<view v-els estyle="margin-top: 35%;">
					<view class="fansmeeting_audit_box" v-if="club_id==1&&huodong_id==160">
						<view class="fansmeeting_audit">
							<view class="display_flex" style="justify-content: center;padding-bottom: 40rpx;">
								<view class="fansmeeting_audit_img_box">
									<image v-if="zhinfo.status==0" class="fansmeeting_audit_img"
										:src="onlinePic+'fansmeeting/audit_ing.png'">
									</image>
									<image v-if="zhinfo.status==1" class="fansmeeting_audit_img"
										:src="onlinePic+'fansmeeting/audit_ok.png'">
									</image>
									<image v-if="zhinfo.status==2" class="fansmeeting_audit_img"
										:src="onlinePic+'fansmeeting/audit_no.png'">
									</image>
								</view>
								<view class="f-15 ml-10 mt-5">
									<text>{{zhinfo.status_text}}</text>
								</view>
							</view>
							<view v-if="zhinfo.adjustment_tips" class="f-11" style="padding-bottom: 40rpx;">
								<text>{{zhinfo.adjustment_tips}}</text>
							</view>
							<view class="fansmeeting_audit_text">
								<view v-if="zhinfo.refuse_reason">
									<text>{{zhinfo.refuse_reason}}</text>
								</view>
								<view style="color: red;" v-if="zhinfo.admin_qrcode_tips">
									<text>{{zhinfo.admin_qrcode_tips}}</text>
								</view>
							</view>
							<view class="text-c" v-if="zhinfo.admin_qrcode">
								<image @click="checkImg(zhinfo.admin_qrcode)" class="kefu_qrcode_img"
									:show-menu-by-longpress="true" :src="picUrl+zhinfo.admin_qrcode"></image>
							</view>
						</view>
						<view class="mt-20">
							<!-- 等待抢票 -->
							<view class="group_wait_btn_block mt-15 display_flex" v-if="zhinfo.grab_ticket_button_name">
								<view class="display_flex" v-if="zhinfo.grab_time_second>0">
									<view v-if="hourTime>0">
										{{hourTime==0?'00':hourTime<10?'0'+hourTime:hourTime}}时
									</view>
									<view>{{minTime==0?'00':minTime<10?'0'+minTime:minTime}}分</view>
									<view>{{secTime<10?'0'+secTime:secTime}}秒</view>
								</view>
								<view>{{zhinfo.grab_ticket_button_name}}</view>
							</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.grab_ticket_button_tips">
								<text>{{zhinfo.grab_ticket_button_tips}}</text>
							</view>
							<!-- 去抢票 -->
							<view class="group_pay_btn_block mt-15" @click="payZHFnasMeeting"
								v-if="zhinfo.grab_ticket_go_button_name">{{zhinfo.grab_ticket_go_button_name}}</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.grab_ticket_go_button_tips">
								<text>{{zhinfo.grab_ticket_go_button_tips}}</text>
							</view>
							<!-- 抢票成功 -->
							<view class="group_payok_btn_block mt-15" v-if="zhinfo.grab_ticket_success_button_name ">
								{{zhinfo.grab_ticket_success_button_name }}
							</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.grab_ticket_success_button_tips">
								<text>{{zhinfo.grab_ticket_success_button_tips}}</text>
							</view>
							<!-- 名额已满 -->
							<view class="group_wait_btn_block mt-15" v-if="zhinfo.grab_ticket_full_button_name ">
								{{zhinfo.grab_ticket_full_button_name }}
							</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.grab_ticket_full_button_tips">
								<text>{{zhinfo.grab_ticket_full_button_tips}}</text>
							</view>
							<!-- 改信息 -->
							<view v-else>
								<view class="group_public_btn_block mt-15" @click="editZHActiveForm"
									v-if="zhinfo.update_button_name">{{zhinfo.update_button_name}}
								</view>
							</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.update_button_tips">
								<text>{{zhinfo.update_button_tips}}</text>
							</view>
							<!-- 不可改信息 -->
							<view class="group_wait_btn_block mt-15" v-if="zhinfo.update_no_button_name">
								{{zhinfo.update_no_button_name}}
							</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.update_no_button_tips">
								<text>{{zhinfo.update_no_button_tips}}</text>
							</view>
							<!-- 查看票 -->
							<view class="group_payok_btn_block mt-15" v-if="zhinfo.ticket_button_name"
								@click="goZHTicket()">
								{{zhinfo.ticket_button_name}}
							</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.ticket_button_tips">
								<text>{{zhinfo.ticket_button_tips}}</text>
							</view>
							<!-- 分享给好友 -->
							<view class="group_share_btn_block mt-15" @click="goSharePage"
								v-if="zhinfo.share_button_name">
								{{zhinfo.share_button_name}}
							</view>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.share_button_tips">
								<text>{{zhinfo.share_button_tips}}</text>
							</view>
							<!-- 退款 refund_status  0 未申请 1 退款中 2 退款完成 -->
							<block v-if="zhinfo.refund_status==0">
								<view class="group_refund_btn_block mt-15" v-if="zhinfo.refund_button_name"
									@click="refundZHFnasMeeting()">
									{{zhinfo.refund_button_name}}
								</view>
							</block>
							<block v-else>
								<view class="group_refund_btn_block_on mt-15" v-if="zhinfo.refund_button_name">
									{{zhinfo.refund_button_name}}
								</view>
							</block>
							<view class="fansmeeting_ticket_button_tips" v-if="zhinfo.refund_button_tips">
								<text>{{zhinfo.refund_button_tips}}</text>
							</view>
							<view class="audit_ticket_box">
								<view class="audit_ticket_cell">
									<view class="fansmeeting_audit_cell">
										<view class="flex-1">姓名</view>
										<view class="c-666666">{{zhinfo.name}}</view>
									</view>
									<view class="fansmeeting_audit_cell">
										<view class="flex-1">手机号</view>
										<view class="c-666666">{{zhinfo.mobile}}</view>
									</view>
									<view class="fansmeeting_audit_cell">
										<view class="flex-1">活动环节</view>
										<view class="c-666666">
											<view v-for="item in zhinfo.festival_project_popup_single_arr"
												:key="item.id" v-if="item.id==zhinfo.project_type" class="text-r">
												{{item.name}}<span class="c-red">({{item.price}}元)</span>
											</view>
											<view class="text-r">
												<span v-for="(item,index) in form_project_popup_arr" :key="item.id"
													v-if="index<2">
													{{item.name}}<span class="c-red">({{item.price}}元)</span><span
														v-if="item.id==3">x{{zhinfo.project_man_num}}</span>
													<span v-if="index<form_project_popup_arr.length-1">/</span></span>
											</view>
											<view class="text-r">
												<span v-for="(item,index) in form_project_popup_arr" :key="item.id"
													v-if="index>1">
													{{item.name}}<span class="c-red">({{item.price}}元)</span><span
														v-if="item.id==3">X{{zhinfo.project_man_num}}</span>
													<span v-if="index<form_project_popup_arr.length-1">/</span></span>
											</view>
										</view>
									</view>
									<view class="fansmeeting_audit_cell">
										<view class="flex-1">是否有车</view>
										<view class="c-666666">{{zhinfo.is_have_car==1?'是':'否'}}</view>
									</view>
									<view v-if="zhinfo.is_have_car==1">
										<view class="fansmeeting_audit_cell" v-if="zhinfo.car_series!='无车'">
											<view class="flex-1">车牌号</view>
											<view class="c-666666">{{zhinfo.car_number}}</view>
										</view>
										<view class="fansmeeting_audit_cell">
											<view class="flex-1">是否为斯巴鲁车主</view>
											<view class="c-666666">{{zhinfo.is_subaru==1?'是':'否'}}</view>
										</view>
										<view class="fansmeeting_audit_cell" v-if="zhinfo.is_subaru==1">
											<view class="flex-1">车型</view>
											<view class="c-666666">{{zhinfo.car_series}}</view>
										</view>
										<view class="fansmeeting_audit_cell" v-if="zhinfo.is_subaru==0">
											<view class="flex-1">品牌</view>
											<view class="c-666666">{{zhinfo.car_brand}}</view>
										</view>
										<view class="fansmeeting_audit_cell">
											<view class="flex-1">驾驶员证件信息</view>
											<view class="c-666666">{{zhinfo.id_card}}</view>
										</view>
										<view v-for="item in zhinfo.project_man_card" class="fansmeeting_audit_cell">
											<view class="flex-1">巡游随行乘客信息</view>
											<view class="text-r">
												<view class="c-666666">{{item.name}}</view>
												<view class="c-666666">{{item.id_card}}</view>
											</view>

										</view>
									</view>
									<view class="fansmeeting_audit_cell">
										<view class="flex-1">随行人数</view>
										<view class="c-666666">{{zhinfo.man_num}}人</view>
									</view>
									<view class="pd-30" v-if="zhinfo.is_have_car==1">
										<view class="flex-1">行驶证</view>
										<view class="mt-10">
											<image class="audit_ticket_img" :src="picUrl+zhinfo.driving_license_pic"
												mode="widthFix">
											</image>
										</view>
									</view>
									<view class="pd-30" v-if="zhinfo.is_have_car==1">
										<view class="flex-1">爱车照片</view>
										<view class="mt-10">
											<image class="audit_ticket_img" :src="picUrl+zhinfo.pic" mode="widthFix">
											</image>
										</view>
									</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view v-if="club_id==1&&huodong_id==92" class="fansmeeting_form_box" style="margin-top: 0;">
				<view class="fansmeeting_form_topbk_box">
					<image class="fansmeeting_form_topbk" :src="onlinePic+'fansmeeting/audit_ok_bg.png'"
						mode="widthFix">
					</image>
				</view>
				<view v-if="info.sign_end_status==1" class="audit_box"
					:style="'padding-bottom:'+pdbottom+ 'rpx;margin-top:30%;'">
					<view class="f-18 f-w">{{info.sign_end_title}}</view>
					<view class="f-12 mt-10">
						<text>{{info.sign_end_desc}}</text>
					</view>
				</view>
				<view style="margin-top: 35%;" v-else>
					<view v-if="auditinfo.status==0||auditinfo.status==1||auditinfo.status==2">
						<view class="fansmeeting_audit_box" v-if="club_id==1&&huodong_id==92">
							<view class="fansmeeting_audit">
								<view class="display_flex" style="justify-content: center;padding-bottom: 40rpx;">
									<view class="fansmeeting_audit_img_box">
										<image v-if="auditinfo.status==0" class="fansmeeting_audit_img"
											:src="onlinePic+'fansmeeting/audit_ing.png'">
										</image>
										<image v-if="auditinfo.status==1" class="fansmeeting_audit_img"
											:src="onlinePic+'fansmeeting/audit_ok.png'">
										</image>
										<image v-if="auditinfo.status==2" class="fansmeeting_audit_img"
											:src="onlinePic+'fansmeeting/audit_no.png'">
										</image>
									</view>
									<view class="f-15 ml-10 mt-5">
										<text>{{auditinfo.status_text}}</text>
									</view>
								</view>
								<view v-if="auditinfo.adjustment_tips" class="f-11" style="padding-bottom: 40rpx;">
									<text>{{auditinfo.adjustment_tips}}</text>
								</view>
								<view class="fansmeeting_audit_text">
									<view v-if="auditinfo.refuse_reason">
										<text>{{auditinfo.refuse_reason}}</text>
									</view>
									<view v-if="auditinfo.admin_qrcode_tips">
										<text>{{auditinfo.admin_qrcode_tips}}</text>
									</view>
								</view>
								<view class="text-c" v-if="auditinfo.admin_qrcode">
									<image @click="checkImg(auditinfo.admin_qrcode)" class="kefu_qrcode_img"
										:show-menu-by-longpress="true" :src="picUrl+auditinfo.admin_qrcode"></image>
								</view>
								<view v-if="auditinfo.group_status==0&&auditinfo.ticket_experience_status!=0"
									class="ticket_experience_icon_box" @click="goSdtyPay">
									<image class="ticket_experience_icon" :src="picUrl+auditinfo.ticket_experience_icon"
										mode="widthFix"></image>
								</view>
							</view>
							<!-- 团体票 ↓↓↓↓ -->
							<view class="mt-20" v-if="auditinfo.group_status==1">
								<view class="audit_ticket_box">
									<view class="team_ticket_box">
										<view class="team_ticket_tab_box">
											<view class="team_ticket_tab">
												<view v-for="(item,index) in group_project_arr" :key="item.id"
													:class="tab_index==index?'team_ticket_tab_cell_on':'team_ticket_tab_cell'"
													@click="changeTab(item.id,index)">
													{{item.name}}
													<image v-if="tab_index==index" class="tab_arrow_down"
														:src="onlinePic+'fansmeeting/tab_arrow_down.png'"></image>
													<view class="team_ticket_tab_right_top" v-if="item.tips">
														{{item.tips}}
													</view>
												</view>
											</view>
										</view>
										<view style="margin-top: -50rpx;">
											<view v-for="(item,index) in group_arr_tab" :key="index"
												class="audit_ticket_cell">
												<view class="fans_num_box" @click="showAuditFansTeamInfo(index)">
													<view class="flex-1 f-14 f-w" style="padding: 30rpx 0;">
														粉丝{{index+1}}</view>
													<view class="pd-30">
														<image v-if="item.showInfo==1" class="fans_num_arrow"
															:src="onlinePic+'fansmeeting/arrow_down.png'"></image>
														<image v-else class="fans_num_arrow"
															:src="onlinePic+'fansmeeting/arrow_up.png'">
														</image>
													</view>
												</view>
												<block v-if="item.showInfo==1">
													<!-- 退款状态 refund_status  0 未申请 1 退款中 2 退款完成 -->
													<!-- 订单状态 pay_status  0 未支付  1已付款 -->
													<view v-if="item.pay_status==1" class="fansmeeting_audit_cell">
														<view v-if="item.refund_status==0" class="flex-1"
															style="color: #C0773B;">已支付</view>
														<view v-if="item.refund_status==1" class="flex-1"
															style="color: #C0773B;">退款中</view>
														<view v-if="item.refund_status==2" class="flex-1"
															style="color: #C0773B;">退款完成</view>
														<view v-if="item.refund_status==0"
															@click="refundFnasMeeting(item.id)" class="refund_text">申请退款
														</view>
													</view>
													<view class="fansmeeting_audit_cell">
														<view style="width: 100%;">
															<view class="display_flex">
																<view class="flex-1">购票类型</view>
																<view class="c-666666" v-for="itemd in projectslist"
																	:key="itemd.id" v-if="itemd.id==item.project_type">
																	{{itemd.name}} x1
																</view>
															</view>
															<view v-if="item.refund_status==2&&ticket_type_tips"
																class="f-10 mt-5" style="color: #FF971C;">
																{{ticket_type_tips}}
															</view>
														</view>
													</view>
													<view class="fansmeeting_audit_cell">
														<view class="flex-1">姓名</view>
														<view class="c-666666">{{item.name}}</view>
													</view>
													<view class="fansmeeting_audit_cell">
														<view class="flex-1">手机号</view>
														<view class="c-666666">{{item.mobile}}</view>
													</view>
													<view class="fansmeeting_audit_cell">
														<view class="flex-1">车型</view>
														<view class="c-666666">{{item.car_series}}</view>
													</view>
													<view class="fansmeeting_audit_cell" v-if="item.car_series=='其他'">
														<view class="flex-1">其他车型</view>
														<view class="c-666666">{{item.car_series_other}}</view>
													</view>
													<view class="fansmeeting_audit_cell" v-if="item.car_series!='无车'">
														<view class="flex-1">车牌号</view>
														<view class="c-666666">{{item.car_number}}</view>
													</view>
													<view class="fansmeeting_audit_cell" v-if='item.id_card'>
														<view class="flex-1">证件号码</view>
														<view class="c-666666">{{item.id_card}}</view>
													</view>
													<view class="fansmeeting_audit_cell">
														<view class="flex-1">随车人员数</view>
														<view class="c-666666">{{item.man_num}}人</view>
													</view>
													<view class="pd-30" v-if="item.car_series!='无车'">
														<view class="flex-1">爱车照片</view>
														<view class="mt-10">
															<image class="audit_ticket_img" :src="picUrl+item.pic"
																mode="widthFix">
															</image>
														</view>
													</view>

												</block>
											</view>
											<view class="page_bottom_loading" v-if="group_arr_tab.length==0">无数据</view>
										</view>
									</view>
								</view>
								<view class="audit_bottom_btn_box" :style="'padding-bottom:'+ bottomSafeArea +'px;'">
									<!-- 查看票 -->
									<view class="group_payok_btn_block mt-15"
										v-if="group_project_info.ticket_button_name" @click="goTicket()">
										{{group_project_info.ticket_button_name}}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.ticket_button_tips">
										<text>{{group_project_info.ticket_button_tips}}</text>
									</view>
									<!-- 不可查看票 -->
									<view class="group_wait_btn_block mt-15"
										v-if="group_project_info.ticket_no_button_name">
										{{group_project_info.ticket_no_button_name}}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.ticket_no_button_tips">
										<text>{{group_project_info.ticket_no_button_tips}}</text>
									</view>
									<!-- 去付款-团体 -->
									<view class="group_pay_btn_block mt-15" @click="payFnasMeeting"
										v-if="group_project_info.pay_button_name">{{group_project_info.pay_button_name}}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.pay_button_tips">
										<text>{{group_project_info.pay_button_tips}}</text>
									</view>
									<!-- 支付成功 -->
									<view class="group_payok_btn_block mt-15"
										v-if="group_project_info.pay_success_button_name">
										{{group_project_info.pay_success_button_name}}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.pay_success_button_tips">
										<text>{{group_project_info.pay_success_button_tips}}</text>
									</view>

									<!-- 支付过期 -->
									<view class="group_wait_btn_block mt-15"
										v-if="group_project_info.pay_overdue_button_name">
										{{group_project_info.pay_overdue_button_name}}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.pay_overdue_button_tips">
										<text>{{group_project_info.pay_overdue_button_tips}}</text>
									</view>
									<!-- 等待抢票 -->
									<view class="group_wait_btn_block mt-15 display_flex"
										v-if="group_project_info.grab_ticket_button_name">
										<view class="display_flex" v-if="group_project_info.grab_time_second>0">
											<view v-if="hourTime>0">
												{{hourTime==0?'00':hourTime<10?'0'+hourTime:hourTime}}时
											</view>
											<view>{{minTime==0?'00':minTime<10?'0'+minTime:minTime}}分</view>
											<view>{{secTime<10?'0'+secTime:secTime}}秒</view>
										</view>
										<view>{{group_project_info.grab_ticket_button_name}}</view>
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.grab_ticket_button_tips">
										<text>{{group_project_info.grab_ticket_button_tips}}</text>
									</view>
									<!-- 去抢票 -->
									<view class="group_pay_btn_block mt-15" @click="payFnasMeeting"
										v-if="group_project_info.grab_ticket_go_button_name ">
										{{group_project_info.grab_ticket_go_button_name }}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.grab_ticket_go_button_tips ">
										<text>{{group_project_info.grab_ticket_go_button_tips }}</text>
									</view>
									<!-- 抢票成功 -->
									<view class="group_payok_btn_block mt-15"
										v-if="group_project_info.grab_ticket_success_button_name ">
										{{group_project_info.grab_ticket_success_button_name }}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.grab_ticket_success_button_tips">
										<text>{{group_project_info.grab_ticket_success_button_tips}}</text>
									</view>
									<!-- 名额已满 -->
									<view class="group_wait_btn_block mt-15"
										v-if="group_project_info.grab_ticket_full_button_name ">
										{{group_project_info.grab_ticket_full_button_name }}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.grab_ticket_full_button_tips">
										<text>{{group_project_info.grab_ticket_full_button_tips}}</text>
									</view>
									<!-- 改信息 -->
									<view class="group_public_btn_block mt-15" @click="editActiveForm"
										v-if="group_project_info.update_button_name">
										{{group_project_info.update_button_name}}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.update_button_tips">
										<text>{{group_project_info.update_button_tips}}</text>
									</view>
									<!-- 不可改信息 -->
									<view class="group_wait_btn_block mt-15"
										v-if="group_project_info.update_no_button_name">
										{{group_project_info.update_no_button_name}}
									</view>
									<view class="fansmeeting_ticket_button_tips"
										v-if="group_project_info.update_no_button_tips">
										<text>{{group_project_info.update_no_button_tips}}</text>
									</view>
								</view>
							</view>
							<!-- 个人票 ↓↓↓↓ -->
							<view class="mt-20" v-if="auditinfo.group_status==0">
								<!-- 查看票 -->
								<view class="group_payok_btn_block mt-15" v-if="auditinfo.ticket_button_name"
									@click="goTicket()">
									{{auditinfo.ticket_button_name}}
								</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.ticket_button_tips">
									<text>{{auditinfo.ticket_button_tips}}</text>
								</view>
								<!-- 不可查看票 -->
								<view class="group_wait_btn_block mt-15" v-if="auditinfo.ticket_no_button_name">
									{{auditinfo.ticket_no_button_name}}
								</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.ticket_no_button_tips">
									<text>{{auditinfo.ticket_no_button_tips}}</text>
								</view>
								<!-- 去付款-个人 -->
								<view class="group_pay_btn_block mt-15" @click="payFnasMeeting"
									v-if="auditinfo.pay_button_name">{{auditinfo.pay_button_name}}</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.pay_button_tips">
									<text>{{auditinfo.pay_button_tips}}</text>
								</view>
								<!-- 支付成功 -->
								<view class="group_payok_btn_block mt-15" v-if="auditinfo.pay_success_button_name">
									{{auditinfo.pay_success_button_name}}
								</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.pay_success_button_tips">
									<text>{{auditinfo.pay_success_button_tips}}</text>
								</view>
								<!-- 支付过期 -->
								<view class="group_wait_btn_block mt-15" v-if="auditinfo.pay_overdue_button_name">
									{{auditinfo.pay_overdue_button_name}}
								</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.pay_overdue_button_tips">
									<text>{{auditinfo.pay_overdue_button_tips}}</text>
								</view>
								<!-- 等待抢票 -->
								<view class="group_wait_btn_block mt-15 display_flex"
									v-if="auditinfo.grab_ticket_button_name">
									<view class="display_flex" v-if="auditinfo.grab_time_second>0">
										<view v-if="hourTime>0">{{hourTime==0?'00':hourTime<10?'0'+hourTime:hourTime}}时
										</view>
										<view>{{minTime==0?'00':minTime<10?'0'+minTime:minTime}}分</view>
										<view>{{secTime<10?'0'+secTime:secTime}}秒</view>
									</view>
									<view>{{auditinfo.grab_ticket_button_name}}</view>
								</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.grab_ticket_button_tips">
									<text>{{auditinfo.grab_ticket_button_tips}}</text>
								</view>
								<!-- 去抢票-个人 -->
								<view class="group_pay_btn_block mt-15" @click="payFnasMeeting"
									v-if="auditinfo.grab_ticket_go_button_name ">
									{{auditinfo.grab_ticket_go_button_name }}
								</view>
								<view class="fansmeeting_ticket_button_tips"
									v-if="auditinfo.grab_ticket_go_button_tips ">
									<text>{{auditinfo.grab_ticket_go_button_tips }}</text>
								</view>
								<!-- 抢票成功 -->
								<view class="group_payok_btn_block mt-15"
									v-if="auditinfo.grab_ticket_success_button_name ">
									{{auditinfo.grab_ticket_success_button_name }}
								</view>
								<view class="fansmeeting_ticket_button_tips"
									v-if="auditinfo.grab_ticket_success_button_tips">
									<text>{{auditinfo.grab_ticket_success_button_tips}}</text>
								</view>
								<!-- 名额已满 -->
								<view class="group_wait_btn_block mt-15" v-if="auditinfo.grab_ticket_full_button_name ">
									{{auditinfo.grab_ticket_full_button_name }}
								</view>
								<view class="fansmeeting_ticket_button_tips"
									v-if="auditinfo.grab_ticket_full_button_tips">
									<text>{{auditinfo.grab_ticket_full_button_tips}}</text>
								</view>
								<!-- 退款 refund_status  0 未申请 1 退款中 2 退款完成 -->
								<block v-if="auditinfo.refund_status==0">
									<view class="group_refund_btn_block mt-15" v-if="auditinfo.refund_button_name"
										@click="refundFnasMeeting(0)">
										{{auditinfo.refund_button_name}}
									</view>
								</block>
								<block v-else>
									<view class="group_refund_btn_block_on mt-15" v-if="auditinfo.refund_button_name">
										{{auditinfo.refund_button_name}}
									</view>
								</block>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.refund_button_tips">
									<text>{{auditinfo.refund_button_tips}}</text>
								</view>
								<!-- 改信息 -->
								<view class="group_public_btn_block mt-15" @click="editActiveForm"
									v-if="auditinfo.update_button_name">{{auditinfo.update_button_name}}</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.update_button_tips">
									<text>{{auditinfo.update_button_tips}}</text>
								</view>
								<!-- 不可改信息 -->
								<view class="group_wait_btn_block mt-15" v-if="auditinfo.update_no_button_name">
									{{auditinfo.update_no_button_name}}
								</view>
								<view class="fansmeeting_ticket_button_tips" v-if="auditinfo.update_no_button_tips">
									<text>{{auditinfo.update_no_button_tips}}</text>
								</view>
								<view class="audit_ticket_box">
									<view class="audit_ticket_cell">
										<view class="fansmeeting_audit_cell">
											<view class="flex-1">车友会成员</view>
											<view class="c-666666">{{club_user_status==1?'是':'否'}}</view>
										</view>
										<view class="fansmeeting_audit_cell">
											<view style="width: 100%;">
												<view class="display_flex">
													<view class="flex-1">购票类型</view>
													<view class="c-666666" v-for="itemd in projectslist" :key="itemd.id"
														v-if="itemd.id==auditinfo.project_type">{{itemd.name}} x1</view>
												</view>
												<view v-if="auditinfo.ticket_type_tips" class="f-10 mt-5"
													style="color: #FF971C;">
													{{auditinfo.ticket_type_tips}}
												</view>
											</view>
										</view>
										<view class="fansmeeting_audit_cell">
											<view class="flex-1">姓名</view>
											<view class="c-666666">{{auditinfo.name}}</view>
										</view>
										<view class="fansmeeting_audit_cell">
											<view class="flex-1">手机号</view>
											<view class="c-666666">{{auditinfo.mobile}}</view>
										</view>
										<view class="fansmeeting_audit_cell">
											<view class="flex-1">车型</view>
											<view class="c-666666">{{auditinfo.car_series}}</view>
										</view>
										<view class="fansmeeting_audit_cell" v-if="auditinfo.car_series!='无车'">
											<view class="flex-1">车牌号</view>
											<view class="c-666666">{{auditinfo.car_number}}</view>
										</view>
										<view class="fansmeeting_audit_cell" v-if="auditinfo.id_card">
											<view class="flex-1">证件号码</view>
											<view class="c-666666">{{auditinfo.id_card}}</view>
										</view>
										<view class="fansmeeting_audit_cell">
											<view class="flex-1">随车人员数</view>
											<view class="c-666666">{{auditinfo.man_num}}人</view>
										</view>
										<view class="pd-30" v-if="auditinfo.car_series!='无车'">
											<view class="flex-1">爱车照片</view>
											<view class="mt-10">
												<image class="audit_ticket_img" :src="picUrl+auditinfo.pic"
													mode="widthFix">
												</image>
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</block>
		<view class="fansmeeting_share_box" v-if="showShareTimeImg">
			<image style="width: 100%;" :src="onlinePic+'fansmeeting/fansmeeting_share_zh.jpg'" mode="widthFix"></image>
		</view>
		<view v-if="isFansPop" class="guide_mask_box" @click="closePopup"></view>
		<view class="fansmeeting_pop_box" v-if="isFansPop">
			<image class="pop_top_img" :src="picUrl+popImg" mode="widthFix"></image>
			<view class="fansmeeting_pop_content_box">
				<view class="f-15 text-c" v-if="popTitle">{{popTitle}}</view>
				<view class="fansmeeting_pop_content">
					<rich-text :nodes="popContent"></rich-text>
				</view>
				<view class="pd-20">
					<view v-if="showSubmitBtn==1&&popType==1" class="fansmeeting_pop_btn" @click="closeEditPopup">
						{{popBtn}}
					</view>
					<view v-if="showSubmitBtn==1&&popType==3" class="fansmeeting_pop_btn" @click="closeZHEditPopup">
						{{popBtn}}
					</view>
					<view class="display_flex" style="justify-content: space-between;"
						v-if="showSubmitBtn==1&&popType==2">
						<view class="fansmeeting_pop_btn" style="width: 45%;padding: 25rpx 0;"
							@click="closeRefundPopup">
							确认
						</view>
						<view class="fansmeeting_pop_btn_def" style="width: 45%;padding: 25rpx 0;" @click="closePopup">
							关闭
						</view>
					</view>
					<view v-if="showSubmitBtn==2" class="fansmeeting_pop_btn_def">{{popBtn}}({{popTime}}s)</view>
				</view>
			</view>
			<view class="pop_close_icon_box" v-if="showSubmitBtn==1&&popType==1">
				<uni-icons class="pop_close_icon" @click="closePopup" type="close" color="#ffffff"
					size="50"></uni-icons>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		submitAdminGroupActive,
		getGroupActiveInfo,
		getUserGroupActiveAuditInfo,
		submitUserGroupActiveAudit,
		noticeTemplate,
		getGroupUserInfo,
		quitGroup,
		getAgreement,
		getClubCarSeriesAll,
		payFnasMeeting,
		refundActiveTicket,
		getZHActiveInfo
	} from '@/api/motortime.js';
	let app = getApp()
	export default {
		data() {
			return {
				showGroupactiveinfo: false,
				petNumlist: [],
				childNumlist: [],
				childAgelist: [],
				isCheck: '',
				club_id: '',
				huodong_id: '',
				info: {},
				auditinfo: {},
				isSubmit: true,
				agelist: [],
				name: '',
				mobile: '',
				pic: '',
				is_pet: '',
				pet_num: '',
				pet_type: '',
				is_child: '',
				child_num: '',
				child_age: '',
				userinfo: '',
				age: '', //
				sex: '', //  单选  1 男  2 女  
				car_series: '',
				car_model_version: '', //   输入
				desc: '', //  描述文本
				province: '',
				city: '',
				area: '',
				city_text: '',
				purchase_time: '',
				seriesList: [],
				modelList: [],
				group_status: 0,
				is_club_user: '',
				club_user_status: '',
				projectslist: [],
				group_arr: [{
					name: '',
					mobile: '',
					car_series: '',
					car_series_other: '',
					pic: '',
					car_number: '',
					man_num: 0,
					project_type: '',
					id_card: '',
					showInfo: 1,
					isAgreeSafety: false,
				}],
				group_project_info: '',
				huodong_club_id: '',
				huodong_join_id: 0,
				fromActivelist: false,
				picUrl: app.globalData.picUrl,
				onlinePic: app.globalData.onlinePic,
				isAgree: false,
				huodong_join_popup: '',
				listWithCounts: [],
				isFansPop: false,
				formIndex: 0,
				popType: 0,
				popImg: '',
				popTitle: '',
				popContent: '',
				popContent1: '',
				popBtn: '',
				popTime: '',
				popType: '',
				lastContent: 1,
				showSubmitBtn: 2,
				tab_index: 0,
				tab_type: '',
				channel: '',
				group_project_arr: [],
				group_arr_tab: [],
				ticket_type_tips: '',
				hourTime: '',
				minTime: '',
				secTime: '',
				huodong_join_group_id: '',
				showShareTimeImg: false,
				zhinfo: '',
				form_project_popup_arr: [],
				pdbottom: uni.getSystemInfoSync().safeAreaInsets.bottom ? uni.getSystemInfoSync().safeAreaInsets.bottom +
					60 : 60,
				safeBottom: uni.getSystemInfoSync().safeAreaInsets.bottom > 0 ? true : false,
				pageSafeArea: uni.getSystemInfoSync().safeAreaInsets.bottom ? uni.getSystemInfoSync().safeAreaInsets
					.bottom + 140 : 150,
				bottomSafeArea: uni.getSystemInfoSync().safeAreaInsets.bottom ? uni.getSystemInfoSync().safeAreaInsets
					.bottom : 15
			};
		},
		onShow() {
			if (!uni.getStorageSync('access_token')) {
				uni.navigateTo({
					url: '/pages/login/login'
				})
			} else {
				this.userinfo = uni.getStorageSync('userinfo')
			}
			if (uni.getStorageSync('onload')) {
				uni.showLoading({})
				this.getGroupActiveInfo()
				if (this.huodong_id == 92) {
					this.getUserGroupActiveAuditInfo()
				}
				if (this.huodong_id == 160) {
					this.getZHActiveInfo()
				}
				uni.removeStorage({
					key: 'onload'
				})
			}
		},
		onLoad(options) {
			console.log(uni.getStorageSync('Appoptions'))
			this.huodong_id = options.huodong_id ? options.huodong_id : ''
			this.huodong_club_id = options.club_id ? options.club_id : ''
			this.channel = options.channel ? options.channel : ''
			if (uni.getStorageSync('access_token')) {
				this.getGroupActiveInfo()
				if (this.huodong_id == 92) {
					this.getUserGroupActiveAuditInfo()
				}
				if (this.huodong_id == 160) {
					this.getZHActiveInfo()
				}
				uni.showLoading({})
			}
			uni.removeStorage({
				key: 'activeForm'
			})
			if (this.huodong_id == 92) {
				if (uni.getStorageSync('Appoptions').scene == 1154) {
					this.showShareTimeImg = true
				} else if (uni.getStorageSync('Appoptions').scene == 1155) {
					uni.reLaunch({
						url: '/pages/group/groupactiveinfo?huodong_id=' + this.huodong_id +
							'&club_id=' + this
							.huodong_club_id + '&channel=' + this.channel,
					})
				} else {
					this.showShareTimeImg = false
				}
			}
		},
		methods: {
			getGroupActiveInfo() {
				getGroupActiveInfo({
					huodong_id: this.huodong_id
				}).then(res => {
					if (res.state == 1) {
						this.info = res.data.info
						this.club_id = res.data.info.club_id
						var params = {
							event_code: '车友会审核结果',
							path: 'pages/group/groupactiveaudit',
							event_id: this.huodong_id,
							title: res.data.info.title,
							source_page: '',
							value: this.channel ? this.channel : '',
						}
						app.BurialPoint(params)

					} else {
						uni.showToast({
							title: res.error[0],
							mask: true,
							icon: 'none',
							duration: 1500
						})
					}
				})
			},
			getUserGroupActiveAuditInfo() {
				getUserGroupActiveAuditInfo({
					huodong_id: this.huodong_id,
					channel: this.channel ? this.channel : ''
				}).then(res => {
					if (res.state == 1) {
						uni.hideLoading()
						this.auditinfo = res.data.info
						this.projectslist = res.data.info.festival_project_popup_arr
						var group_project_arr = res.data.info.group_project_arr ? res.data.info.group_project_arr :
							[]
						if (group_project_arr.length > 0) {
							this.tab_type = group_project_arr[this.tab_index].id
							this.group_project_arr = group_project_arr
							var list = group_project_arr[this.tab_index].user_arr
							if (list.length > 0) {
								this.group_arr_tab = list.map(item => ({
									...item,
									showInfo: 1
								}));
							}
							this.ticket_type_tips = group_project_arr[this.tab_index].ticket_type_tips ?
								group_project_arr[
									this.tab_index]
								.ticket_type_tips : ''
							this.group_project_info = group_project_arr[this.tab_index]
							var grabTime = ''
							if (this.group_project_info.grab_time_second > 0) {
								var grab_time_second = this.group_project_info.grab_time_second
								this.secondsToHms(grab_time_second)
								var that = this
								grabTime = setInterval(function() {
									grab_time_second--
									if (grab_time_second > 0) {
										that.secondsToHms(grab_time_second)
									} else {
										that.getUserGroupActiveAuditInfo()
										clearInterval(grabTime)
									}
								}, 1000)
							}
						} else {
							var grabTime = ''
							if (res.data.info.grab_time_second > 0) {
								var grab_time_second = res.data.info.grab_time_second
								this.secondsToHms(grab_time_second)
								var that = this
								grabTime = setInterval(function() {
									grab_time_second--
									if (grab_time_second > 0) {
										that.secondsToHms(grab_time_second)
									} else {
										that.getUserGroupActiveAuditInfo()
										clearInterval(grabTime)
									}
								}, 1000)
							}
						}

						this.is_club_user = res.data.info.is_club_user
						this.club_user_status = res.data.info.club_user_status ? res.data.info.club_user_status :
							res.data.info.is_club_user == 1 ? 1 : 2
						this.huodong_join_id = res.data.info.huodong_join_id ? res.data.info.huodong_join_id : 0
						this.popImg = res.data.info.festival_popup_img
						this.showGroupactiveinfo = true
						if (res.data.info.status != 1) {
							uni.reLaunch({
								url: '/pages/group/groupactiveinfo?huodong_id=' + this.huodong_id +
									'&club_id=' + this
									.huodong_club_id + '&channel=' + this.channel,
							})
						}
					} else {
						uni.hideLoading()
						uni.showToast({
							title: res.error[0],
							mask: true,
							icon: 'none',
							duration: 1500
						})
					}
				})
			},
			getZHActiveInfo() {
				getZHActiveInfo({
					huodong_id: this.huodong_id,
					channel: this.channel ? this.channel : '',
					huodong_club_id: this.huodong_club_id ? this.huodong_club_id : ''
				}).then(res => {
					if (res.state == 1) {
						uni.hideLoading()
						this.zhinfo = res.data.info
						var project_type_arr = res.data.info.project_type_arr
						var festival_project_popup_arr = res.data.info.festival_project_popup_arr
						this.form_project_popup_arr = []
						festival_project_popup_arr.forEach(item => {
							item.isSelect = 0; // 初始全部设置为0
						});
						project_type_arr.forEach(value => {
							festival_project_popup_arr.forEach(item => {
								if (item.id === value) {
									item.isSelect = 1; // 如果相等，设置isSelect为1
									this.form_project_popup_arr.push(item)
								}
							});
						});
						this.zhinfo.festival_project_popup_arr = festival_project_popup_arr
						this.popImg = res.data.info.festival_popup_img
						this.huodong_join_id = res.data.info.huodong_join_id ? res.data.info.huodong_join_id : 0
						if (!res.data.info.huodong_join_id) {
							uni.reLaunch({
								url: '/pages/group/groupactiveinfo?huodong_id=' + this.huodong_id +
									'&channel=' + this.channel
							})
						} else {
							this.showGroupactiveinfo = true
						}
						var grabTime = ''
						if (res.data.info.grab_time_second > 0) {
							var grab_time_second = res.data.info.grab_time_second
							this.secondsToHms(grab_time_second)
							var that = this
							grabTime = setInterval(function() {
								grab_time_second--
								if (grab_time_second > 0) {
									that.secondsToHms(grab_time_second)
								} else {
									that.getZHActiveInfo()
									clearInterval(grabTime)
								}
							}, 1000)
						}
					} else {
						uni.hideLoading()
						uni.showToast({
							title: res.error[0],
							mask: true,
							icon: 'none',
							duration: 1500
						})
					}
				})
			},
			secondsToHms(seconds) {
				this.hourTime = Math.floor(seconds / 3600);
				this.minTime = Math.floor((seconds % 3600) / 60);
				this.secTime = seconds % 60;
			},
			editActiveForm() {
				this.showSubmitBtn = 1
				this.isFansPop = true
				this.popType = 1
				this.popTitle = this.auditinfo.update_popup_title
				this.popContent = this.auditinfo.update_popup_content
				this.popBtn = this.auditinfo.update_popup_button_name
			},
			closeEditPopup() {
				this.isFansPop = false
				this.showSubmitBtn = 2
				this.popTitle = ''
				this.popContent = ''
				this.popBtn = ''
				this.popType = ''
				uni.navigateTo({
					url: '/pages/group/groupactiveauditform?huodong_id=' + this.huodong_id +
						'&club_id=' + this
						.huodong_club_id +
						'&channel=' + this
						.channel
				})
			},
			closePopup() {
				this.isFansPop = false
				this.showSubmitBtn = 2
				this.popTitle = ''
				this.popContent = ''
				this.popBtn = ''
			},
			payFnasMeeting() {
				if (this.auditinfo.group_status == 0) {
					uni.navigateTo({
						url: '/pages/group/groupactivepay?huodong_id=' + this.huodong_id +
							'&club_id=' + this
							.huodong_club_id +
							'&channel=' + this
							.channel + '&huodong_join_id=' + this.auditinfo.huodong_join_id
					})
				} else {
					uni.navigateTo({
						url: '/pages/group/groupactivepay?huodong_id=' + this.huodong_id +
							'&club_id=' + this
							.huodong_club_id +
							'&channel=' + this
							.channel + '&huodong_join_id=' + this.auditinfo.huodong_join_id + '&project_type=' +
							this.tab_type
					})
				}
			},
			goSdtyPay() {
				uni.navigateTo({
					url: '/pages/group/groupactivepayd?huodong_id=' + this.huodong_id +
						'&club_id=' + this
						.huodong_club_id +
						'&channel=' + this
						.channel + '&huodong_join_id=' + this.auditinfo.huodong_join_id
				})
			},
			refundFnasMeeting(huodong_join_group_id) {
				if (this.auditinfo.group_status == 0) {
					this.showSubmitBtn = 1
					this.isFansPop = true
					this.popType = 2
					this.popTitle = this.auditinfo.refund_popup_title
					this.popContent = this.auditinfo.refund_popup_content
					this.popBtn = this.auditinfo.refund_popup_button_name
					this.huodong_join_group_id = huodong_join_group_id
				} else {
					this.showSubmitBtn = 1
					this.isFansPop = true
					this.popType = 2
					this.popTitle = this.group_project_info.refund_popup_title
					this.popContent = this.group_project_info.refund_popup_content
					this.popBtn = this.group_project_info.refund_popup_button_name
					this.huodong_join_group_id = huodong_join_group_id
				}
			},
			refundZHFnasMeeting() {
				this.showSubmitBtn = 1
				this.isFansPop = true
				this.popType = 2
				this.popTitle = this.zhinfo.refund_popup_title
				this.popContent = this.zhinfo.refund_popup_content
				this.popBtn = this.zhinfo.refund_popup_button_name
				this.huodong_join_group_id = this.zhinfo.huodong_join_id
			},
			closeRefundPopup() {
				if (this.isSubmit) {
					this.isSubmit = false
					if (this.huodong_id == 160) {
						refundActiveTicket({
							huodong_join_id: this.huodong_join_id,
						}).then(res => {
							if (res.state == 1) {
								this.isFansPop = false
								this.showSubmitBtn = 2
								this.popTitle = ''
								this.popContent = ''
								this.popBtn = ''
								this.popType = ''
								this.huodong_join_group_id = ''
								uni.showToast({
									title: '已取消',
									icon: 'success',
									duration: 1500,
									mask: true,
								})
								this.getZHActiveInfo()
								var params = {
									event_code: '车友会活动结果',
									path: 'pages/group/groupactiveaudit',
									event_id: this.huodong_id,
									title: this.info.title,
									source_page: '车友会活动结果-退款',
									value: '',
								}
								app.BurialPoint(params)
								this.isSubmit = true
							} else {
								this.isSubmit = true
								uni.showToast({
									title: res.error[0],
									mask: true,
									icon: 'none',
									duration: 1500
								})
							}
						})
					} else {
						if (this.auditinfo.group_status == 0) {
							var project_type = this.auditinfo.project_type
						} else {
							var project_type = this.tab_type
						}
						refundActiveTicket({
							huodong_join_id: this.huodong_join_id,
							project_type: project_type,
							huodong_join_group_id: this.huodong_join_group_id ? this.huodong_join_group_id : 0
						}).then(res => {
							if (res.state == 1) {
								this.isFansPop = false
								this.showSubmitBtn = 2
								this.popTitle = ''
								this.popContent = ''
								this.popBtn = ''
								this.popType = ''
								this.huodong_join_group_id = ''
								uni.showToast({
									title: '已发起退款申请',
									icon: 'success',
									duration: 1500,
									mask: true,
								})
								this.getUserGroupActiveAuditInfo()
								var params = {
									event_code: '车友会活动结果',
									path: 'pages/group/groupactiveaudit',
									event_id: this.huodong_id,
									title: this.info.title,
									source_page: '车友会活动结果-退款',
									value: '',
								}
								app.BurialPoint(params)
								this.isSubmit = true
							} else {
								this.isSubmit = true
								uni.showToast({
									title: res.error[0],
									mask: true,
									icon: 'none',
									duration: 1500
								})
							}
						})
					}
				}
			},

			showAuditFansTeamInfo(index) {
				this.group_arr_tab[index].showInfo = this.group_arr_tab[index].showInfo == 1 ? 2 : 1
			},
			changeTab(type, index) {
				this.group_arr_tab = []
				this.tab_type = type
				this.tab_index = index
				var list = this.group_project_arr[index].user_arr
				if (list.length > 0) {
					this.group_arr_tab = list.map(item => ({
						...item,
						showInfo: 1
					}));
				}
				this.ticket_type_tips = this.group_project_arr[index].ticket_type_tips ? this.group_project_arr[index]
					.ticket_type_tips : ''
				this.group_project_info = this.group_project_arr[index]
			},
			checkImg(img) {
				uni.previewImage({
					urls: [this.picUrl + img]
				});
			},
			goTicket() {
				uni.navigateTo({
					url: '/pages/group/groupactiveticket?huodong_id=' + this.huodong_id +
						'&club_id=' + this
						.huodong_club_id +
						'&channel=' + this
						.channel
				})
				var params = {
					event_code: '车友会活动结果',
					path: 'pages/group/groupactiveaudit',
					event_id: this.info.huodong_id,
					title: this.info.title,
					source_page: '车友会审核结果-查看票',
					value: '',
				}
				app.BurialPoint(params)
			},
			editZHActiveForm() {
				if (this.zhinfo.update_popup_title) {
					this.showSubmitBtn = 1
					this.isFansPop = true
					this.popType = 3
					this.popTitle = this.zhinfo.update_popup_title
					this.popContent = this.zhinfo.update_popup_content
					this.popBtn = this.zhinfo.update_popup_button_name
					this.popTime = this.zhinfo.update_popup_time
					if (this.popTime > 0) {
						var that = this
						var Interval = setInterval(function() {
							if (that.popTime > 1) {
								that.popTime = that.popTime - 1
							} else {
								that.showSubmitBtn = 1
								clearInterval(Interval)
							}
						}, 1000)
					} else {
						this.showSubmitBtn = 1
					}
				} else {
					uni.navigateTo({
						url: '/pages/group/groupzhactiveform?huodong_id=' + this.huodong_id +
							'&club_id=' + this
							.huodong_club_id +
							'&channel=' + this
							.channel + '&click_btn=1'
					})
				}

				var params = {
					event_code: '车友会活动结果',
					path: 'pages/group/groupactiveaudit',
					event_id: this.zhinfo.huodong_id,
					title: this.zhinfo.title,
					source_page: '车友会审核结果-修改信息',
					value: '',
				}
				app.BurialPoint(params)
			},
			closeZHEditPopup() {
				this.isFansPop = false
				this.showSubmitBtn = 2
				this.popTitle = ''
				this.popContent = ''
				this.popBtn = ''
				this.popType = ''
				uni.navigateTo({
					url: '/pages/group/groupzhactiveform?huodong_id=' + this.huodong_id +
						'&club_id=' + this
						.huodong_club_id +
						'&channel=' + this
						.channel + '&click_btn=1'
				})
			},
			goSharePage() {
				uni.navigateTo({
					url: '/pages/group/groupactiveshare?huodong_id=' + this.huodong_id +
						'&club_id=' + this
						.huodong_club_id +
						'&channel=' + this
						.channel
				})
				var params = {
					event_code: '车友会活动结果',
					path: 'pages/group/groupactiveaudit',
					event_id: this.info.huodong_id,
					title: this.info.title,
					source_page: '车友会审核结果-分享好友',
					value: '',
				}
				app.BurialPoint(params)
			},
			payZHFnasMeeting() {
				uni.navigateTo({
					url: '/pages/group/groupactivepay?huodong_id=' + this.huodong_id +
						'&channel=' + this
						.channel + '&huodong_join_id=' + this.huodong_join_id +
						'&is_update=0'
				})
				var params = {
					event_code: '车友会活动结果',
					path: 'pages/group/groupactiveaudit',
					event_id: this.zhinfo.huodong_id,
					title: this.zhinfo.title,
					source_page: '车友会审核结果-去支付',
					value: '',
				}
				app.BurialPoint(params)
			},
			goZHTicket() {
				uni.navigateTo({
					url: '/pages/group/groupzhactiveticket?huodong_id=' + this.huodong_id +
						'&club_id=' + this
						.huodong_club_id +
						'&channel=' + this
						.channel
				})
				var params = {
					event_code: '车友会活动结果',
					path: 'pages/group/groupactiveaudit',
					event_id: this.zhinfo.huodong_id,
					title: this.zhinfo.title,
					source_page: '车友会审核结果-查看票',
					value: '',
				}
				app.BurialPoint(params)
			}
		},
		onPullDownRefresh() {
			if (uni.getStorageSync('access_token')) {
				this.getGroupActiveInfo()
				if (this.huodong_id == 160) {
					this.getZHActiveInfo()
				} else if (this.huodong_id == 92) {
					this.getUserGroupActiveAuditInfo()
				}
			}
			setTimeout(function() {
				uni.stopPullDownRefresh()
			}, 500)
		},
		onShareAppMessage(res) {
			app.getShareTask()
			if (this.huodong_id == 160) {
				return {
					title: this.zhinfo.share_poster_title,
					path: this.zhinfo.share_poster_url,
					imageUrl: this.zhinfo.share_poster_pic ? this.picUrl + this.zhinfo.share_poster_pic : ''
				}
			} else {
				return {
					title: this.info.title,
					path: '/pages/group/groupactiveinfo?huodong_id=' + this.huodong_id + '&club_id=' + this
						.huodong_club_id + '&channel=' + this.channel + '&invitation_id=' + uni.getStorageSync(
							'userinfo') ? uni.getStorageSync('userinfo').user_id : '',
					imageUrl: this.info.share_pic ? this.picUrl + this.info.share_pic : this.picUrl + this.info.pic
				}
			}

		}
	}
</script>

<style lang="scss">
	.groupactiveinfo {
		.group_wait_btn_block {
			font-size: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			color: #ffffff;
			padding: 30rpx 0;
			border-radius: 8rpx;
			background-color: #D0D0D0;
		}

		.group_pay_btn_block {
			font-size: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			color: #ffffff;
			padding: 30rpx 0;
			border-radius: 8rpx;
			background-color: #C92359;
		}

		.group_payok_btn_block {
			font-size: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			color: #ffffff;
			padding: 30rpx 0;
			border-radius: 8rpx;
			background-color: #23AB5E;
		}

		.group_refund_btn_block {
			font-size: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			color: #ffffff;
			padding: 30rpx 0;
			border-radius: 8rpx;
			background-color: #C0773B;
		}

		.group_refund_btn_block_on {
			font-size: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			color: #E6C2A4;
			padding: 30rpx 0;
			border-radius: 8rpx;
			background-color: #C0773B;
		}

		.group_share_btn_block {
			font-size: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			color: #ffffff;
			padding: 30rpx 0;
			border-radius: 8rpx;
			background-color: #F36933;
		}

		.refund_text {
			color: #C0773B;
			text-decoration: underline;
		}

		.fansmeeting_ticket_button_tips {
			color: #C92359;
			font-size: 22rpx;
			margin-top: 10rpx;
			text-align: center;
		}

		.kefu_qrcode_img {
			width: 200rpx;
			height: 200rpx;
		}

		.team_ticket_box {


			.team_ticket_tab_box {
				margin-left: -30rpx;
				margin-right: -30rpx;
				padding: 50rpx 30rpx;
				background: linear-gradient(to bottom, #F1F1F1, #FFFFFF);

				.team_ticket_tab {
					display: flex;
					align-items: center;
					justify-content: space-between;

					.team_ticket_tab_cell {
						color: #000000;
						font-size: 24rpx;
						position: relative;
						width: 200rpx;
						height: 88rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						border-radius: 8rpx;
						background-color: #FFFFFF;
						border: 1rpx solid #DFDFDF;
					}

					.team_ticket_tab_cell_on {
						color: #FFFFFF;
						font-size: 24rpx;
						position: relative;
						width: 200rpx;
						height: 88rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						border-radius: 8rpx;
						background-color: #00A0DC;
						border: 1rpx solid #00A0DC;
					}

					.tab_arrow_down {
						width: 30rpx;
						height: 17rpx;
						position: absolute;
						bottom: -17rpx;
						margin: 0 auto;
						z-index: 1;
					}

					.team_ticket_tab_right_top {
						color: #00A0DC;
						font-size: 18rpx;
						padding: 5rpx;
						border-radius: 30rpx;
						border: 1rpx solid #00A0DC;
						position: absolute;
						top: -12rpx;
						right: -12rpx;
						z-index: 1;
						background-color: #FFFFFF;
					}
				}
			}
		}

		.audit_bottom_btn_box {
			position: sticky;
			bottom: 0;
			left: 0;
			right: 0;
			z-index: 1;
			padding: 1rpx 30rpx;
			background-color: #FFFFFF;
		}

	}
</style>